import $http from '@/utils/request.js';



export const getQuestion = (param) => {
  return $http.get("/quiz/question", param)
}


export const postResult = (param) => {
  return $http.post("/quiz/question", param)
}
export const submit = () => {
  return $http.get("/quiz/submit")
}

export const verifyResult = (questionId,answerId) => {
  return $http.get(`/quiz/verify/${questionId}/${answerId}`)
}


